package com.younker.waf.core.user;

import java.util.List;

public class  Role  {

	// primary key
	private Long id;
    
	// fields
	private String roleCode;
	private String roleName;
	private String remark;

	private List<Module> moduleList;
   
   // constructors
	public Role () {
		id = 0L;
	}

	/**
	 * Constructor for primary key
	 */
	public Role (Long id) {
		this.setId(id);
	}

	public Long getId () {
		return id;
	}

	/**
	 * Set the unique identifier of this class
	 * @param id the new ID
	 */
	public void setId (Long id) {
		this.id = id;
	}

	public String getRoleCode () {
		return this.roleCode;
	}

	/**
	 * Set the value related to the column: roleNo
	 * @param roleNo the roleNo value
	 */
	public void setRoleCode (String roleCode) {
		this.roleCode = roleCode;
	}

	public String getRoleName () {
		return this.roleName;
	}

	/**
	 * Set the value related to the column: roleName
	 * @param roleName the roleName value
	 */
	public void setRoleName (String roleName) {
		this.roleName = roleName;
	}

	public String getRemark () {
		return this.remark;
	}

	/**
	 * Set the value related to the column: desc
	 * @param desc the desc value
	 */
	public void setRemark (String s) {
		this.remark = s;
	}

	public List<Module> getModuleList() {
		return moduleList;
	}

	public void setModuleList(List<Module> moduleList) {
		this.moduleList = moduleList;
	}  
    
}